package dao;

import com.alibaba.fastjson.JSON;

import entity.Exam;
import entity.Student;
import entity.Teacher;

public interface TeacherDao {
	
	public boolean login(Teacher teacher);
	
	public boolean doInsert(Teacher teacher);
	
	public boolean examInsert(Exam exam);
	
	public JSON findAllExam();
	
	public boolean beginExam(long id);
	
	public boolean endExam(long id);
	
	public boolean deleteExam(long id);
	
	public boolean examOngoing();
	
	public JSON findAllStudent();
	
	public boolean unbindIP(Student student);
	
	public boolean studentInsert(Student student);
	
	public boolean sendMes(String mes);
}
